package com.swak.resource;

import java.io.IOException;

import org.springframework.core.io.FileSystemResourceLoader;
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;

public class FileResource {

	public static void main(String[] args) throws IOException {
		ResourceLoader resourceLoader = new FileSystemResourceLoader();
		Resource resource = resourceLoader.getResource("file:.runtime/");
		System.out.println(resource.getFile().getAbsolutePath());
	}
}